<ion-header>
  <ion-toolbar>
    <ion-buttons slot="start">
      <ion-back-button defaultHref="/tabs/tab1" text='返回'></ion-back-button>
    </ion-buttons>
    <ion-title>新闻详情</ion-title>
  </ion-toolbar>
</ion-header>

<ion-content>
  <!-- <div class="center" *ngIf="!hasData">
    <ion-spinner name="crescent" color="success" text='拼命加载中..'></ion-spinner>
  </div> -->
  <app-myloading [hasData]='hasData' [infoText]='infoText'></app-myloading>

  <header>{{detailInfo.title}}</header>
  <h3>{{detailInfo.detailInfo}}</h3>
  <div class="info" [innerHTML]="detailInfo.content"></div>
</ion-content>